计算机与现代化 ›› 2010, Vol. 1 ›› Issue (8): 219-222.doi: 10.3969/j.issn.1006-2475.2010.08.058

• 计算机仿真 • 上一篇    

基于NS2仿真Ad Hoc多跳网络性能

周少琼,徐 祎   

  1. 合肥电子工程学院信息系,安徽 合肥 230037
  • 收稿日期:2010-02-24 修回日期:1900-01-01 出版日期:2010-08-27 发布日期:2010-08-27

Simulation and Study on Performance of Multihop Ad Hoc Network Based on NS2

ZHOU Shao-qiong, XU Yi   

  1. Department of Information, Hefei Electronic Engineering Institute, Hefei 230037, China
  • Received:2010-02-24 Revised:1900-01-01 Online:2010-08-27 Published:2010-08-27

摘要: NS2是一种免费的功能强大的网络仿真器。无线Ad Hoc网络作为一种典型的自组织网络,其网络性能一直是应用研究的重点问题。本文以仿真常见路由协议为例介绍基于Window + Cygwin平台的NS2仿真详细步骤,给出仿真中使用的tcl脚本程序、gawk性能分析程序、仿真结果图和一些性能分析。结果表明,随着节点跳数的增加,分组投递率、归一化路由开销等性能都有大幅度下降。

关键词: NS2, Ad Hoc网络, 多跳, 性能分析

Abstract: NS2 is a free and powerful network simulation software. Wireless Ad Hoc networks are termed as selforganized wireless networks, and network performance is always a core problem in its research. The detail simulation progress of Ad Hoc networks typical routing protocol using NS2 based on Window + Cygwin is introduced. The TCL script program, performance analysis gawk programs, the simulating result graphs and some performance analysis are explained clearly. According to the results, some performances such as the getratio and routecost have decreased sharply with the increase of tops.

Key words: NS2, Ad Hoc network, multihop, performance analysis